package cn.gmcx.lazy.izze.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author GMCX
 * @since 2024-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("friend")
public class Friend implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 查询时角色id
     */
    @TableField("master_id")
    private Integer masterId;

    /**
     * 好友的id
     */
    @TableField("friend_id")
    private Integer friendId;

    /**
     * 添加好友时的日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    @TableField("create_time")
    private LocalDateTime createTime;


}
